using System;
using System.Collections.Generic;
using System.Text;

namespace CMS_GYM
{
    public class clsKhuyenMaiDTO
    {
        public int KhuyenMaiId;
        public string MaKhuyenMai;
        public string TenKhuyenMai;
        public string MoTa;
        public DateTime NgayBatDau;
        public DateTime NgayKetThuc;
        public double SoTien;
        public int PhanTram;
        public int SoThuTu;
        public int TrangThai;
        public int IsLock;
        public int NguoiTaoId;
        public DateTime NgayTao;
        public int NguoiChinhSuaId;
        public DateTime NgayChinhSua;
        
        public clsKhuyenMaiDTO(string _MaKhuyenMai, string _TenKhuyenMai, string _MoTa, 
            DateTime _NgayBatDau, DateTime _NgayKetThuc, double _SoTien, int _PhanTram,
            int _TrangThai, int _IsLock, int _NguoiTaoId, DateTime _NgayTao, int _NguoiChinhSua, DateTime _NgayChinhSua)
        {
            MaKhuyenMai = _MaKhuyenMai;
            TenKhuyenMai = _TenKhuyenMai;
            MoTa = _MoTa;
            NgayBatDau = _NgayBatDau;
            NgayKetThuc = _NgayKetThuc;
            SoTien = _SoTien;
            PhanTram = _PhanTram;
            TrangThai = _TrangThai;
            IsLock = _IsLock;
            NguoiTaoId = _NguoiTaoId;
            NgayTao = _NgayTao;
            NguoiChinhSuaId = _NguoiChinhSua;
            NgayChinhSua = _NgayChinhSua;
        }

        public clsKhuyenMaiDTO()
        {
            MaKhuyenMai = string.Empty;
            TenKhuyenMai = string.Empty;
            MoTa = string.Empty;
            NgayBatDau = new DateTime();
            NgayKetThuc = new DateTime();
            SoTien = 0;
            PhanTram = 0;
            TrangThai = 0;
            IsLock = 0;
            NguoiTaoId = 0;
            NgayTao = new DateTime();
            NguoiChinhSuaId = 0;
            NgayChinhSua = new DateTime();
        }
    }
}
